package com.liao.furns.dao;

import com.liao.furns.pojo.Furn;
import com.liao.furns.pojo.Member;

import java.util.List;

/**
 * @author lzp
 * @version 1.0
 * lzpnb!
 */
public interface FurnDAO {
    public List<Furn> queryFurns();
    public int saveFurn(Furn furn);
    public int deleteFurn(Integer id);

    public Furn queryFurnById(int id);

    public int updateFurn(Furn furn);

    public int getTotalRow();
    public int getTotalRowByName(String name);

    public List<Furn> getPageItems(int begin,int pageSize);
    public List<Furn> getPageItemsByName(int begin,int pageSize,String name);
}
